<template>
	<view class="home">
		<web-view :src="urlData"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				listData:{
					shuoming:'https://qr71.cn/oGrbDM/qOcqSe8',
					jishu:'https://qr71.cn/oGrbDM/qD84nIt',
					guzhang:'https://qr71.cn/oGrbDM/qv6oYtR',
					
				},
				urlData:''
			}
		},
		onLoad(option) {
			this.urlDataFn(option.id)
		},
		methods: {
			urlDataFn(id){
				if(id == '使用说明'){
					this.urlData = this.listData.shuoming
					return
				}
				if(id == '技术文档'){
					this.urlData = this.listData.jishu
					return
				}
				if(id == '故障报修'){
					this.urlData = this.listData.guzhang
					return
				}
			}
		}
	}
</script>
<style scoped>
	
</style>
<style>
	page {
		background-color: #f8f8f8;
	}
</style>